package com.modouyu.novel.service;

import com.baomidou.mybatisplus.service.IService;
import com.modouyu.novel.entity.NovelChapterEntity;

/**
 * Created by Administrator on 2018/5/7.
 */
public interface NovelChapterService extends IService<NovelChapterEntity> {
    /**
     * 获取上一个文章
     * @param chapterEntity
     * @return
     */
    NovelChapterEntity selectPreChapter(NovelChapterEntity chapterEntity);


    NovelChapterEntity selectNextChapter(NovelChapterEntity chapterEntity);

}
